﻿@using Competition.App.Web.ResultModels.ProductResultModels
@{
    ViewData["Title"] = "Index";
}


<!--位置索引-->
<div class="container position">
    您现在的位置： <a href="@Url.Action("Index","Home")" style="color: #ccc">首页</a> >>  作品展示
</div>

<!--list-->
<div class="news_page_content container">
    @foreach (ProductResultModel m in (List<ProductResultModel>)ViewBag.List)
    {
        <div class="news_page_list">
            <div class="row">
                <div class="col-sm-3">
                    <img style="height: 150px;" src="@m.Cover" alt="">
                </div>
                <div class="col-sm-8">
                    <h3 onclick="javascript:window.location.href = '@Url.Action("Details","Product",new{Id=m.Id})';">[@m.ClassId]@m.Title</h3>
                    <h5>@m.AddTime</h5>
                    <p>
                        @m.Description
                    </p>
                </div>
            </div>
        </div>
    }
</div>

<!--page-->
<div class="page" id="page1"></div>
